/*
 * @(#) HealthMeasureType.java Nov 12, 2015
 * Copyright  2015 GPDI. All right reserved.
 */
package blog.sys.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author xuyubang
 *好友表
 * @version 1.0 Nov 12, 2015
 */
@Entity
@Table(name = "t_user_friend")
public class UserFriend implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

    // 
    private Integer id;
    //用户id
    private Integer uId;
    //好友id
    private Integer fId;
    //状态
    private Integer status;


    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Column(name = "uid")
    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    @Column(name = "fid")
    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    @Column(name = "status")
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
